package net.lab1024.sa.admin.module.business.yct.yctTeeth.domain.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.v3.oas.annotations.media.Schema;
import java.time.LocalDate;
import lombok.Data;
import net.lab1024.sa.base.common.json.serializer.FileKeyVoSerializer;

/**
 * 文章 列表VO
 *
 * @Author zhangben
 * @Date 2024-12-18 09:52:35
 * @Copyright 20241218
 */

@Data
public class ArticleVO {


    @Schema(description = "文章id")
    private Integer articleId;

    @Schema(description = "作者")
    private Integer userId;

    @Schema(description = "标题")
    private String title;

    @Schema(description = "文章内容")
    private String content;

    @Schema(description = "文章日期")
    private LocalDate articleDate;

    @JsonSerialize(using = FileKeyVoSerializer.class)
    private String coverImageUrl;

    @Schema(description = "简介")
    private String description;

    private Integer isVideo;


}
